package com.ruoyi.goods.mapper;

import com.ruoyi.goods.domain.BmGoods;
import com.ruoyi.goods.domain.BmPreferential;
import com.ruoyi.goods.domain.BmSpecification;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @Author {那蓝桉}
 * @Date: 2023/08/11/ 14:52
 * @description
 */
@Repository
public interface SellerMapper {
    List<BmGoods> queryAll();
    BmGoods queryById(Long id);
    List<BmPreferential> queryByStartTime();
    int updateStatus(Long id);
    int updateStatus0(Long id);
    int decrStock(BmSpecification specification);
}
